<template>
	<div>
		<a-button @click="exportFile">导出</a-button>
	</div>
</template>

<script setup>
import {ref} from 'vue'

const exportFile = () => {
	let form = document.createElement('form')
	form.setAttribute('action', '')
	form.setAttribute('method', 'POST')
	document.body.appendChild(form)
	form.submit()
}
</script>

<style>
</style>